package com.tcm.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * 教学计划表实体类
 * @author Guqier
 * @version 1.0
 * @date 2023/7/18 12:32
 */
@Data
@TableName("ts_teaching")
public class Teaching {

    //ID
    private Long id;

    //学期ID
    private Long termId;

    //课程（书籍）ID
    private Long bookId;

    //教师ID
    private Long teacherId;

    //班级ID
    private Long clazzId;

    //状态，0为启用，1为停用
    @TableField(fill = FieldFill.INSERT)
    private Integer status;

    //创建时间
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    //创建用户ID
    private Long createUser;

    //更新时间
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    //更新用户ID
    private Long updateUser;

    //备用
    private String memo;


}
